3.2777 \(\int \frac {(c x)^{-1+n}}{a+b x^n} \, dx\)

Optimal. Leaf size=28 \[ \frac {x^{-n} (c x)^n \log \left (a+b x^n\right )}{b c n} \]

[Out]

(c*x)^n*ln(a+b*x^n)/b/c/n/(x^n)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {268, 260} \[ \frac {x^{-n} (c x)^n \log \left (a+b x^n\right )}{b c n} \]

Antiderivative was successfully verified.

[In]

Int[(c*x)^(-1 + n)/(a + b*x^n),x]

[Out]

((c*x)^n*Log[a + b*x^n])/(b*c*n*x^n)

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rule 268

Int[((c_)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[(c^IntPart[m]*(c*x)^FracPart[m])/x^FracP
art[m], Int[x^m*(a + b*x^n)^p, x], x] /; FreeQ[{a, b, c, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {(c x)^{-1+n}}{a+b x^n} \, dx &=\frac {\left (x^{-n} (c x)^n\right ) \int \frac {x^{-1+n}}{a+b x^n} \, dx}{c}\\ &=\frac {x^{-n} (c x)^n \log \left (a+b x^n\right )}{b c n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 29, normalized size = 1.04 \[ \frac {x^{1-n} (c x)^{n-1} \log \left (a+b x^n\right )}{b n} \]

Antiderivative was successfully verified.

[In]

Integrate[(c*x)^(-1 + n)/(a + b*x^n),x]

[Out]

(x^(1 - n)*(c*x)^(-1 + n)*Log[a + b*x^n])/(b*n)

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 20, normalized size = 0.71 \[ \frac {c^{n - 1} \log \left (b x^{n} + a\right )}{b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^(-1+n)/(a+b*x^n),x, algorithm="fricas")

[Out]

c^(n - 1)*log(b*x^n + a)/(b*n)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (c x\right )^{n - 1}}{b x^{n} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^(-1+n)/(a+b*x^n),x, algorithm="giac")

[Out]

integrate((c*x)^(n - 1)/(b*x^n + a), x)

________________________________________________________________________________________

maple [F]  time = 0.29, size = 0, normalized size = 0.00 \[ \int \frac {\left (c x \right )^{n -1}}{b \,x^{n}+a}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x)^(n-1)/(b*x^n+a),x)

[Out]

int((c*x)^(n-1)/(b*x^n+a),x)

________________________________________________________________________________________

maxima [A]  time = 0.70, size = 24, normalized size = 0.86 \[ \frac {c^{n - 1} \log \left (\frac {b x^{n} + a}{b}\right )}{b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)^(-1+n)/(a+b*x^n),x, algorithm="maxima")

[Out]

c^(n - 1)*log((b*x^n + a)/b)/(b*n)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.04 \[ \int \frac {{\left (c\,x\right )}^{n-1}}{a+b\,x^n} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x)^(n - 1)/(a + b*x^n),x)

[Out]

int((c*x)^(n - 1)/(a + b*x^n), x)

________________________________________________________________________________________

sympy [A]  time = 4.80, size = 17, normalized size = 0.61 \[ \frac {c^{n} \log {\left (1 + \frac {b x^{n}}{a} \right )}}{b c n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x)**(-1+n)/(a+b*x**n),x)

[Out]

c**n*log(1 + b*x**n/a)/(b*c*n)

________________________________________________________________________________________